package io.finer.erp.jeecg.jolimark.model;

import io.finer.erp.jeecg.jolimark.enums.PaperTypeEnum;

import java.io.Serializable;
import java.util.List;

/**
 * 打印请求参数
 * 
 * @author Jolimark
 *
 */
public class PrintRequestModel implements Serializable {
	private static final long serialVersionUID = -3819747628802523946L;
	/**
	 * 应用ID
	 */
	private String appId;
	/**
	 * 访问令牌
	 */
	private String accessToken;
	/**
	 * 打印机编码
	 */
	private List<String> deviceIds;
	/**
	 * 打印份数，默认最少1份
	 */
	private int copies = 1;
	/**
	 * 客户端系统订单流水号
	 */
	private String cusOrderId;
	/**
	 * 打印的内容
	 */
	private String billContent;
	/**
	 * 纸张宽度
	 */
	private int paperWidth;

	/**
	 * 纸张高度
	 */
	private int paperHeight;

	/**
	 * 纸张类型
	 */
	private PaperTypeEnum paperType;

	/**
	 * 打印超时时间(s),默认600
	 */
	private int timeout = 600;
	/**
	 * 语音播报内容
	 */
	private String tex;

	public String getAppId() {
		return appId;
	}

	public void setAppId(String appId) {
		this.appId = appId;
	}

	public String getAccessToken() {
		return accessToken;
	}

	public void setAccessToken(String accessToken) {
		this.accessToken = accessToken;
	}

	public List<String> getDeviceIds() {
		return deviceIds;
	}

	public void setDeviceIds(List<String> deviceIds) {
		this.deviceIds = deviceIds;
	}

	public int getCopies() {
		return copies;
	}

	public void setCopies(int copies) {
		this.copies = copies;
	}

	public String getCusOrderId() {
		return cusOrderId;
	}

	public void setCusOrderId(String cusOrderId) {
		this.cusOrderId = cusOrderId;
	}

	public String getBillContent() {
		return billContent;
	}

	public void setBillContent(String billContent) {
		this.billContent = billContent;
	}

	public int getPaperWidth() {
		return paperWidth;
	}

	public void setPaperWidth(Integer paperWidth) {
		this.paperWidth = paperWidth;
	}

	public int getPaperHeight() {
		return paperHeight;
	}

	public void setPaperHeight(int paperHeight) {
		this.paperHeight = paperHeight;
	}

	public PaperTypeEnum getPaperType() {
		return paperType;
	}

	public void setPaperType(PaperTypeEnum paperType) {
		this.paperType = paperType;
	}

	public int getTimeout() {
		return timeout;
	}

	public void setTimeout(int timeout) {
		this.timeout = timeout;
	}

	public String getTex() {
		return tex;
	}

	public void setTex(String tex) {
		this.tex = tex;
	}
}
